<template>
    <div class="flex">
        <div class="f1">{{label}}</div>
        <div class="f1">{{value}}</div>
    </div>
</template>

<script>
    export default {
        name: "flex-text",
        props: {
            label: {
                type: String,
                default: '标签'
            },
            value:{
                type:String,
                default:'-'
            }
        },
    }
</script>

<style scoped lang="scss">
    .flex{
        display: flex;
        .f1{
            flex: 1;
        }
    }
</style>